import bottombar from './routes/bottombar.js'
import background from './routes/background.js'

const resource = {
    install: function(Vue, options) {
        let router = options.router;
        router.addRoutes(bottombar);
        router.addRoutes(background);
    }
}

if (typeof window !== 'undefined' && window.Vue) {
  window.Vue.use(resource)
}
export default resource
